import axios from '@/libs/api.request'
//视频列表
export const queryPageByType = (params) => {
  return axios.request({
    url: '/manage/video/getManageListVideo',
    method: 'post',
    data: params
  })
}
//删除视频
export const deleteVideos = (params) => {
  return axios.request({
    url: '/manage/video/deleteVideos',
    method: 'post',
    data: params
  })
}
//保存视频
export const saveVideo = (params) => {
  return axios.request({
    url: '/manage/video/saveVideo',
    method: 'post',
    data: params
  })
}
//分片上传视频
export const doPost = (params) => {
  return axios.request({
    url: '/index/doPost',
    method: 'FILE_POST',
    data: params
  })
}
//合并上传视频
export const merge = (params) => {
  return axios.request({
    url: '/index/merge',
    method: 'POST',
    data: params
  })
}
